﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace OpcodeGen
{
    class Program
    {
        //(\w+).*= (.*),\n
        //Col.Add((int)\2, "\1");\n
        static void Main(string[] args)
        {

            //string[] tDirList = System.IO.Directory.GetDirectories(@"H:\DATA\WOW");

            //string Template1 = "string case #:{ return Process_#(); }";
            //string Template2 = "internal bool Process_#(){return false}";
            //string tSwitch = "";
            //string tMethod = "";
            //foreach (string tDir in tDirList)
            //{
            //    int index = tDir.LastIndexOf(".") + 1;
            //    string tvalue = tDir.Substring(index, tDir.Length - index);
                
            //    tSwitch += "\n" + Template1.Replace("#", tvalue);
            //    tMethod += "\n" + Template2.Replace("#", tvalue);
                
            //}

            //System.Diagnostics.Debug.WriteLine(tSwitch);
            //System.Diagnostics.Debug.WriteLine(tMethod);
            //Opcode_2_4_3.Dump();
            //Opcode_3_1_3.Dump();
            Opcode_3_3_2.Dump();
        }
    }
}
